import PropTypes from 'prop-types';

let PropType = {};
if (process.env.NODE_ENV !== 'production') {
  PropType = {
    size: PropTypes.oneOfType([
      PropTypes.oneOf([
        'xsmall',
        'small',
        'medium',
        'large',
        'xlarge',
        '2xl',
        '3xl',
        '4xl',
        '5xl',
      ]),
      PropTypes.string,
    ]),
    src: PropTypes.string,
  };
}
export const AvatarPropTypes = PropType;
